package com.beerandjesus.sportofkings.handicapper.model;

import com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformanceImpl;

/**
 * Date: 8/13/14
 * Time: 8:28 PM
 */
public class BasePastPerformanceImpl implements BasePastPerformance {
    private String date;
    private String numDaysSincePrevious;
    private String track;
    private String raceNumber;
    private String trackCondition;
    private String distance;
    private TrackSurface surface;
    private String specialChuteIndicator;
    private String postPosition;
    private String equipment;
    private Medication medication;
    private String odds;
    private String entryFlag;
    private String raceClassification;
    private String claimingPrice;
    private String purse;
    private String callPositionStart;
    private String callPositionFirst;
    private String callPositionSecond;
    private String callPositionGate;
    private String callPositionStretch;
    private String finishPosition;
    private String callStartLenOrMargin;
    private String callStartBtwnLenthsOnly;
    private String call1stLenOrMargin;
    private String call1stBtwnLengthsOnly;
    private String call2ndLenOrMargin;
    private String call2ndBtwnLengthsOnly;
    private String brisRaceShape1stCall;
    private String callStrLenOrMargin;
    private String callStrBtwnLengthsOnly;
    private String finishLenOrMargin;
    private String finishBtwnLengthsOnly;
    private String brisSpeedRating;
    private String speedRating;
    private String trainerName;
    private String jockeyName;
    private RaceType raceType;
    private String favoriteFlag;
    private String frontBandagesFlag;

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getDate()
*/
    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getNumDaysSincePrevious()
*/
    public String getNumDaysSincePrevious() {
        return numDaysSincePrevious;
    }

    public void setNumDaysSincePrevious(String numDaysSincePrevious) {
        this.numDaysSincePrevious = numDaysSincePrevious;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getTrack()
*/
    public String getTrack() {
        return track;
    }

    public void setTrack(String track) {
        this.track = track;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getRaceNumber()
*/
    public String getRaceNumber() {
        return raceNumber;
    }

    public void setRaceNumber(String raceNumber) {
        this.raceNumber = raceNumber;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getTrackCondition()
*/
    public String getTrackCondition() {
        return trackCondition;
    }

    public void setTrackCondition(String trackCondition) {
        this.trackCondition = trackCondition;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getDistanceYards()
*/
    public String getDistance() {
        return distance;
    }

    public void setDistanceYards(String distanceYards) {
        this.distance = distanceYards;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getSurface()
*/
    public TrackSurface getSurface() {
        return surface;
    }

    public void setSurface(TrackSurface surface) {
        this.surface = surface;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getSpecialChuteIndicator()
*/
    public String getSpecialChuteIndicator() {
        return specialChuteIndicator;
    }

    public void setSpecialChuteIndicator(String specialChuteIndicator) {
        this.specialChuteIndicator = specialChuteIndicator;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getPostPosition()
*/
    public String getPostPosition() {
        return postPosition;
    }

    public void setPostPosition(String postPosition) {
        this.postPosition = postPosition;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getEquipment()
*/
    public String getEquipment() {
        return equipment;
    }

    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getMedication()
*/
    public Medication getMedication() {
        return medication;
    }

    public void setMedication(Medication medication) {
        this.medication = medication;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getOdds()
*/
    public String getOdds() {
        return odds;
    }

    public void setOdds(String odds) {
        this.odds = odds;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getEntryFlag()
*/
    public String getEntryFlag() {
        return entryFlag;
    }

    public void setEntryFlag(String entryFlag) {
        this.entryFlag = entryFlag;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getRaceClassification()
*/
    public String getRaceClassification() {
        return raceClassification;
    }

    public void setRaceClassification(String raceClassification) {
        this.raceClassification = raceClassification;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getClaimingPrice()
*/
    public String getClaimingPrice() {
        return claimingPrice;
    }

    public void setClaimingPrice(String claimingPrice) {
        this.claimingPrice = claimingPrice;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getPurse()
*/
    public String getPurse() {
        return purse;
    }

    public void setPurse(String purse) {
        this.purse = purse;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallPositionStart()
*/
    public String getCallPositionStart() {
        return callPositionStart;
    }

    public void setCallPositionStart(String callPositionStart) {
        this.callPositionStart = callPositionStart;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallPositionFirst()
*/
    public String getCallPositionFirst() {
        return callPositionFirst;
    }

    public void setCallPositionFirst(String callPositionFirst) {
        this.callPositionFirst = callPositionFirst;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallPositionSecond()
*/
    public String getCallPositionSecond() {
        return callPositionSecond;
    }

    public void setCallPositionSecond(String callPositionSecond) {
        this.callPositionSecond = callPositionSecond;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallPositionGate()
*/
    public String getCallPositionGate() {
        return callPositionGate;
    }

    public void setCallPositionGate(String callPositionGate) {
        this.callPositionGate = callPositionGate;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallPositionStretch()
*/
    public String getCallPositionStretch() {
        return callPositionStretch;
    }

    public void setCallPositionStretch(String callPositionStretch) {
        this.callPositionStretch = callPositionStretch;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getFinishPosition()
*/
    public String getFinishPosition() {
        return finishPosition;
    }

    public void setFinishPosition(String finishPosition) {
        this.finishPosition = finishPosition;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallStartLenOrMargin()
*/
    public String getCallStartLenOrMargin() {
        return callStartLenOrMargin;
    }

    public void setCallStartLenOrMargin(String callStartLenOrMargin) {
        this.callStartLenOrMargin = callStartLenOrMargin;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallStartBtwnLenthsOnly()
*/
    public String getCallStartBtwnLenthsOnly() {
        return callStartBtwnLenthsOnly;
    }

    public void setCallStartBtwnLenthsOnly(String callStartBtwnLenthsOnly) {
        this.callStartBtwnLenthsOnly = callStartBtwnLenthsOnly;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCall1stLenOrMargin()
*/
    public String getCall1stLenOrMargin() {
        return call1stLenOrMargin;
    }

    public void setCall1stLenOrMargin(String call1stLenOrMargin) {
        this.call1stLenOrMargin = call1stLenOrMargin;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCall1stBtwnLengthsOnly()
*/
    public String getCall1stBtwnLengthsOnly() {
        return call1stBtwnLengthsOnly;
    }

    public void setCall1stBtwnLengthsOnly(String call1stBtwnLengthsOnly) {
        this.call1stBtwnLengthsOnly = call1stBtwnLengthsOnly;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCall2ndLenOrMargin()
*/
    public String getCall2ndLenOrMargin() {
        return call2ndLenOrMargin;
    }

    public void setCall2ndLenOrMargin(String call2ndLenOrMargin) {
        this.call2ndLenOrMargin = call2ndLenOrMargin;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCall2ndBtwnLengthsOnly()
*/
    public String getCall2ndBtwnLengthsOnly() {
        return call2ndBtwnLengthsOnly;
    }

    public void setCall2ndBtwnLengthsOnly(String call2ndBtwnLengthsOnly) {
        this.call2ndBtwnLengthsOnly = call2ndBtwnLengthsOnly;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getBrisRaceShape1stCall()
*/
    public String getBrisRaceShape1stCall() {
        return brisRaceShape1stCall;
    }

    public void setBrisRaceShape1stCall(String brisRaceShape1stCall) {
        this.brisRaceShape1stCall = brisRaceShape1stCall;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallStrLenOrMargin()
*/
    public String getCallStrLenOrMargin() {
        return callStrLenOrMargin;
    }

    public void setCallStrLenOrMargin(String callStrLenOrMargin) {
        this.callStrLenOrMargin = callStrLenOrMargin;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getCallStrBtwnLengthsOnly()
*/
    public String getCallStrBtwnLengthsOnly() {
        return callStrBtwnLengthsOnly;
    }

    public void setCallStrBtwnLengthsOnly(String callStrBtwnLengthsOnly) {
        this.callStrBtwnLengthsOnly = callStrBtwnLengthsOnly;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getFinishLenOrMargin()
*/
    public String getFinishLenOrMargin() {
        return finishLenOrMargin;
    }

    public void setFinishLenOrMargin(String finishLenOrMargin) {
        this.finishLenOrMargin = finishLenOrMargin;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getFinishBtwnLengthsOnly()
*/
    public String getFinishBtwnLengthsOnly() {
        return finishBtwnLengthsOnly;
    }

    public void setFinishBtwnLengthsOnly(String finishBtwnLengthsOnly) {
        this.finishBtwnLengthsOnly = finishBtwnLengthsOnly;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getBrisSpeedRating()
*/
    public String getBrisSpeedRating() {
        return brisSpeedRating;
    }

    public void setBrisSpeedRating(String brisSpeedRating) {
        this.brisSpeedRating = brisSpeedRating;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getBeyerSpeedRating()
*/
    public String getSpeedRating() {
        return speedRating;
    }

    public void setSpeedRating(String speedRating) {
        this.speedRating = speedRating;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getTrainerName()
*/
    public String getTrainerName() {
        return trainerName;
    }

    public void setTrainerName(String trainerName) {
        this.trainerName = trainerName;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getJockeyName()
*/
    public String getJockeyName() {
        return jockeyName;
    }

    public void setJockeyName(String jockeyName) {
        this.jockeyName = jockeyName;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getRaceType()
*/
    public RaceType getRaceType() {
        return raceType;
    }

    public void setRaceType(RaceType raceType) {
        this.raceType = raceType;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getFavoriteFlag()
*/
    public String getFavoriteFlag() {
        return favoriteFlag;
    }

    public void setFavoriteFlag(String favoriteFlag) {
        this.favoriteFlag = favoriteFlag;
    }

    /* (non-Javadoc)
* @see com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.PastPerformance#getFrontBandagesFlag()
*/
    public String getFrontBandagesFlag() {
        return frontBandagesFlag;
    }

    public void setFrontBandagesFlag(String frontBandagesFlag) {
		this.frontBandagesFlag = frontBandagesFlag;
	}

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof BasePastPerformanceImpl)) return false;

        BasePastPerformanceImpl that = (BasePastPerformanceImpl) o;

        if (brisRaceShape1stCall != null ? !brisRaceShape1stCall.equals(that.brisRaceShape1stCall) : that.brisRaceShape1stCall != null)
            return false;
        if (brisSpeedRating != null ? !brisSpeedRating.equals(that.brisSpeedRating) : that.brisSpeedRating != null)
            return false;
        if (call1stBtwnLengthsOnly != null ? !call1stBtwnLengthsOnly.equals(that.call1stBtwnLengthsOnly) : that.call1stBtwnLengthsOnly != null)
            return false;
        if (call1stLenOrMargin != null ? !call1stLenOrMargin.equals(that.call1stLenOrMargin) : that.call1stLenOrMargin != null)
            return false;
        if (call2ndBtwnLengthsOnly != null ? !call2ndBtwnLengthsOnly.equals(that.call2ndBtwnLengthsOnly) : that.call2ndBtwnLengthsOnly != null)
            return false;
        if (call2ndLenOrMargin != null ? !call2ndLenOrMargin.equals(that.call2ndLenOrMargin) : that.call2ndLenOrMargin != null)
            return false;
        if (callPositionFirst != null ? !callPositionFirst.equals(that.callPositionFirst) : that.callPositionFirst != null)
            return false;
        if (callPositionGate != null ? !callPositionGate.equals(that.callPositionGate) : that.callPositionGate != null)
            return false;
        if (callPositionSecond != null ? !callPositionSecond.equals(that.callPositionSecond) : that.callPositionSecond != null)
            return false;
        if (callPositionStart != null ? !callPositionStart.equals(that.callPositionStart) : that.callPositionStart != null)
            return false;
        if (callPositionStretch != null ? !callPositionStretch.equals(that.callPositionStretch) : that.callPositionStretch != null)
            return false;
        if (callStartBtwnLenthsOnly != null ? !callStartBtwnLenthsOnly.equals(that.callStartBtwnLenthsOnly) : that.callStartBtwnLenthsOnly != null)
            return false;
        if (callStartLenOrMargin != null ? !callStartLenOrMargin.equals(that.callStartLenOrMargin) : that.callStartLenOrMargin != null)
            return false;
        if (callStrBtwnLengthsOnly != null ? !callStrBtwnLengthsOnly.equals(that.callStrBtwnLengthsOnly) : that.callStrBtwnLengthsOnly != null)
            return false;
        if (callStrLenOrMargin != null ? !callStrLenOrMargin.equals(that.callStrLenOrMargin) : that.callStrLenOrMargin != null)
            return false;
        if (claimingPrice != null ? !claimingPrice.equals(that.claimingPrice) : that.claimingPrice != null)
            return false;
        if (date != null ? !date.equals(that.date) : that.date != null) return false;
        if (distance != null ? !distance.equals(that.distance) : that.distance != null) return false;
        if (entryFlag != null ? !entryFlag.equals(that.entryFlag) : that.entryFlag != null) return false;
        if (equipment != null ? !equipment.equals(that.equipment) : that.equipment != null) return false;
        if (favoriteFlag != null ? !favoriteFlag.equals(that.favoriteFlag) : that.favoriteFlag != null) return false;
        if (finishBtwnLengthsOnly != null ? !finishBtwnLengthsOnly.equals(that.finishBtwnLengthsOnly) : that.finishBtwnLengthsOnly != null)
            return false;
        if (finishLenOrMargin != null ? !finishLenOrMargin.equals(that.finishLenOrMargin) : that.finishLenOrMargin != null)
            return false;
        if (finishPosition != null ? !finishPosition.equals(that.finishPosition) : that.finishPosition != null)
            return false;
        if (frontBandagesFlag != null ? !frontBandagesFlag.equals(that.frontBandagesFlag) : that.frontBandagesFlag != null)
            return false;
        if (jockeyName != null ? !jockeyName.equals(that.jockeyName) : that.jockeyName != null) return false;
        if (medication != that.medication) return false;
        if (numDaysSincePrevious != null ? !numDaysSincePrevious.equals(that.numDaysSincePrevious) : that.numDaysSincePrevious != null)
            return false;
        if (odds != null ? !odds.equals(that.odds) : that.odds != null) return false;
        if (postPosition != null ? !postPosition.equals(that.postPosition) : that.postPosition != null) return false;
        if (purse != null ? !purse.equals(that.purse) : that.purse != null) return false;
        if (raceClassification != null ? !raceClassification.equals(that.raceClassification) : that.raceClassification != null)
            return false;
        if (raceNumber != null ? !raceNumber.equals(that.raceNumber) : that.raceNumber != null) return false;
        if (raceType != that.raceType) return false;
        if (specialChuteIndicator != null ? !specialChuteIndicator.equals(that.specialChuteIndicator) : that.specialChuteIndicator != null)
            return false;
        if (speedRating != null ? !speedRating.equals(that.speedRating) : that.speedRating != null) return false;
        if (surface != that.surface) return false;
        if (track != null ? !track.equals(that.track) : that.track != null) return false;
        if (trackCondition != null ? !trackCondition.equals(that.trackCondition) : that.trackCondition != null)
            return false;
        if (trainerName != null ? !trainerName.equals(that.trainerName) : that.trainerName != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = date != null ? date.hashCode() : 0;
        result = 31 * result + (numDaysSincePrevious != null ? numDaysSincePrevious.hashCode() : 0);
        result = 31 * result + (track != null ? track.hashCode() : 0);
        result = 31 * result + (raceNumber != null ? raceNumber.hashCode() : 0);
        result = 31 * result + (trackCondition != null ? trackCondition.hashCode() : 0);
        result = 31 * result + (distance != null ? distance.hashCode() : 0);
        result = 31 * result + (surface != null ? surface.hashCode() : 0);
        result = 31 * result + (specialChuteIndicator != null ? specialChuteIndicator.hashCode() : 0);
        result = 31 * result + (postPosition != null ? postPosition.hashCode() : 0);
        result = 31 * result + (equipment != null ? equipment.hashCode() : 0);
        result = 31 * result + (medication != null ? medication.hashCode() : 0);
        result = 31 * result + (odds != null ? odds.hashCode() : 0);
        result = 31 * result + (entryFlag != null ? entryFlag.hashCode() : 0);
        result = 31 * result + (raceClassification != null ? raceClassification.hashCode() : 0);
        result = 31 * result + (claimingPrice != null ? claimingPrice.hashCode() : 0);
        result = 31 * result + (purse != null ? purse.hashCode() : 0);
        result = 31 * result + (callPositionStart != null ? callPositionStart.hashCode() : 0);
        result = 31 * result + (callPositionFirst != null ? callPositionFirst.hashCode() : 0);
        result = 31 * result + (callPositionSecond != null ? callPositionSecond.hashCode() : 0);
        result = 31 * result + (callPositionGate != null ? callPositionGate.hashCode() : 0);
        result = 31 * result + (callPositionStretch != null ? callPositionStretch.hashCode() : 0);
        result = 31 * result + (finishPosition != null ? finishPosition.hashCode() : 0);
        result = 31 * result + (callStartLenOrMargin != null ? callStartLenOrMargin.hashCode() : 0);
        result = 31 * result + (callStartBtwnLenthsOnly != null ? callStartBtwnLenthsOnly.hashCode() : 0);
        result = 31 * result + (call1stLenOrMargin != null ? call1stLenOrMargin.hashCode() : 0);
        result = 31 * result + (call1stBtwnLengthsOnly != null ? call1stBtwnLengthsOnly.hashCode() : 0);
        result = 31 * result + (call2ndLenOrMargin != null ? call2ndLenOrMargin.hashCode() : 0);
        result = 31 * result + (call2ndBtwnLengthsOnly != null ? call2ndBtwnLengthsOnly.hashCode() : 0);
        result = 31 * result + (brisRaceShape1stCall != null ? brisRaceShape1stCall.hashCode() : 0);
        result = 31 * result + (callStrLenOrMargin != null ? callStrLenOrMargin.hashCode() : 0);
        result = 31 * result + (callStrBtwnLengthsOnly != null ? callStrBtwnLengthsOnly.hashCode() : 0);
        result = 31 * result + (finishLenOrMargin != null ? finishLenOrMargin.hashCode() : 0);
        result = 31 * result + (finishBtwnLengthsOnly != null ? finishBtwnLengthsOnly.hashCode() : 0);
        result = 31 * result + (brisSpeedRating != null ? brisSpeedRating.hashCode() : 0);
        result = 31 * result + (speedRating != null ? speedRating.hashCode() : 0);
        result = 31 * result + (trainerName != null ? trainerName.hashCode() : 0);
        result = 31 * result + (jockeyName != null ? jockeyName.hashCode() : 0);
        result = 31 * result + (raceType != null ? raceType.hashCode() : 0);
        result = 31 * result + (favoriteFlag != null ? favoriteFlag.hashCode() : 0);
        result = 31 * result + (frontBandagesFlag != null ? frontBandagesFlag.hashCode() : 0);
        return result;
    }
}
